﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DisposeFinalizeExercise
{
    class BuffedConsoleTest
    {
        static void Main()
        {
            BufferedConsole bcon = new BufferedConsole(25);
            using (bcon)
            {
                bcon.Write("this is a small string ");
                bcon.Write("Some more string ");
                bcon.Write("and some more for a good measure");
            }
            Console.WriteLine("Program end!");
        }
    }
}
